package cn.rkylin.oms.warehouse.extAdjust.vo;

import cn.rkylin.oms.warehouse.extAdjust.domain.AdjustSku;

/**
 * Created by Administrator on 2018-4-16.
 */
public class AdjustSkuVO extends AdjustSku {
    private String action;
    private String fileName;
    private String stockTypeName;
    private String errorMsg;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getStockTypeName() {
        if ("zp".equals(this.getStockType())){
            return "正品";
        } else {
            return "次品";
        }
    }

    public void setStockTypeName(String stockTypeName) {
        this.stockTypeName = stockTypeName;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
